* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
h3{
    color: red;
}


/* 一级路由的切换效果 */
.page-enter-active,
.page-leave-active {
  transition: opacity 0.5s;
}

.page-enter,
.page-leave-active {
  opacity: 0;
}

/* 给单独设置了 test的一级路由页面设置的切换效果 */
.test-enter-active,.test-leave-active{
  transition: all 0.5s;
  font-size: 12px;
 }
 .test-enter,.test-leave-active{
  opacity: 0;
  font-size: 40px;
 }
